FROM java:8

COPY target/user-service-0.0.1-SNAPSHOT.jar /app2.jar

CMD ["--server.port=1234"]

EXPOSE 1234

ENTRYPOINT ["java","-jar","/app2.jar"]